/* 页面基本样式 */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f8f9fa;
    color: #343a40;
}

.container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* 按钮样式 */
.button-style {
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.button-style:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.button-style:active {
    transform: translateY(0);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.button-colorful {
    background-color: #007bff;
    color: white;
}

.button-colorful:hover {
    background-color: #0056b3;
}

.button-text {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 音乐可视化样式 */
#visualizer {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 图片样式 */
#album {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    /* animation: rotate 15s linear infinite;  */
}
/* 
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
} */

/* 音频控件样式 */
audio {
    width: 100%;
    max-width: 400px;
}